package com; //package声明当前java文件在哪个包当中

import com.pacg.TestPack; //导入其他包中的类

public class Testcom {
    public static void main(String[] args) {
        TestPack testpack = new TestPack();
    }
}
